package com.cskaoyan.mapper;

import com.cskaoyan.bean.MallManagement;
import com.cskaoyan.bean.MallManagementExample;
import com.cskaoyan.model.vo.system.ChildrenEntityInner;
import com.cskaoyan.model.vo.system.ChildrenEntityOuter;
import com.cskaoyan.model.vo.system.SystemPermissions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MallManagementMapper {
    long countByExample(MallManagementExample example);

    int deleteByExample(MallManagementExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MallManagement record);

    int insertSelective(MallManagement record);

    List<MallManagement> selectByExample(MallManagementExample example);

    MallManagement selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MallManagement record, @Param("example") MallManagementExample example);

    int updateByExample(@Param("record") MallManagement record, @Param("example") MallManagementExample example);

    int updateByPrimaryKeySelective(MallManagement record);

    int updateByPrimaryKey(MallManagement record);

    List<SystemPermissions> selectLevelOne();

    List<ChildrenEntityOuter> selectLevelTwo(@Param("labelOne") String labelOne);

    List<ChildrenEntityInner> selectLevelThree(@Param("labelOne") String labelOne, @Param("labelTwo") String labelTwo);
}
